
set more off
clear all
tempfile mbketi

set seed 2389
set maxvar 32767

use Data/Table_T_Stats.dta, clear


summ all_trained_26 if panel_sample == 1 
tab qt_17_r26 if panel_sample == 1 
summ qt_18_*_r26 if panel_sample == 1 
tab qt_16b_r26 if panel_sample == 1 
tab qt_16c_r26 if panel_sample == 1 
tab qt_16d_r26 if panel_sample == 1 
tab qt_16e_r26 if panel_sample == 1 
tab qt_15_8_1_r26 if panel_sample == 1 
tab qt_15_10_1_r26 if panel_sample == 1 
tab qt_15_6_1_r26 if panel_sample == 1 

*confirming statistics by user: 
gen user_type = 0 if has_one_transaction == 0
replace user_type = 1 if has_one_transaction == 1 & has_ten_transaction == 0
replace user_type = 2 if has_ten_transaction == 1

bysort user_type: summ all_trained_26 if panel_sample == 1 
bysort user_type: tab qt_17_r26 if panel_sample == 1 
bysort user_type: summ qt_18_*_r26 if panel_sample == 1
bysort user_type: tab qt_16b_r26 if panel_sample == 1 
bysort user_type: tab qt_16c_r26 if panel_sample == 1 
bysort user_type: tab qt_16d_r26 if panel_sample == 1 
bysort user_type: tab qt_16e_r26 if panel_sample == 1 
bysort user_type: tab qt_15_8_1_r26 if panel_sample == 1 
bysort user_type: tab qt_15_10_1_r26 if panel_sample == 1 
bysort user_type: tab qt_15_6_1_r26 if panel_sample == 1 

bysort user_type: tab qt_16i_r26 if panel_sample == 1 



